package com.basics.api.request.organization;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;


@Data
public class EditOrganizationReq implements Serializable {

    @ApiModelProperty(value = "组织分组ID")
    private String id;

    @ApiModelProperty(value = "分组名称")
    private String groupName;

    @ApiModelProperty(value = "图标颜色")
    private String iconColor;

    @ApiModelProperty("权限(后期扩展多个)")
    private List<GroupPermission> permissionList;
    @ApiModelProperty(value = "是否默认分组")
    private Boolean defaultFlag;
    @Data
    public static class GroupPermission {

        @ApiModelProperty(value = "权限(ALLOW_VIEW允许查看他人详情)")
        private String permission;
    }
}
